function [ thresholdedEffectogram ] = effectogramBySignalThresholding(effectogram, signal, threshold)
%EFFECTOGRAMBYSIGNALTHRESHOLDING thresholds effectogram like that:
%   if (signal(i) < threshold) effectogram(i) = 0;
thresholdedEffectogram =zeros(1, length(effectogram));
for i=1:length(effectogram)
    if (signal(i) >= threshold)
        thresholdedEffectogram(i) = effectogram(i);
    end;
end;
end